#!/bin/bash

FRAPPE_VERSION=${1}

ERPNEXT_VERSION=${2}

## 2. build 
# For version-13
docker build --build-arg=FRAPPE_BRANCH=${FRAPPE_VERSION} --no-cache --progress=plain  -t xdc-erpnext-nginx:${ERPNEXT_VERSION} nginx

# For version-13
# docker build --build-arg=FRAPPE_BRANCH=${FRAPPE_VERSION} --no-cache --progress=plain -t xdc-erpnext-worker:${ERPNEXT_VERSION} worker
